#{if komponents}
    <table>
        <thead>
            <tr>
                <th>Name</th>
                <th>Note</th>
                <th>Lokation</th>
                <th>EDB center nr</th>
                <th width="13%">Action</th>
            </tr>
        </thead>
        <tbody>
            #{list komponents, as:'komponent'}
                <tr>
                    <td>${komponent.komp_name}</td>
                    <td>${komponent.komp_note}</td>
                    <td>${komponent.lokation_id}</td>
                    <td>${komponent.komp_edb_center_nr}</td>
                    <td>
                        <a href="@{show(komponent.id)}">Book</a>
                    </td>
                </tr>
            #{/list}
        </tbody>
    </table>
    <p>
        #{if page > 1}
        <a id="previousPage" href="${page-1}">Previous results</a>
         |
         #{/if}
        <a id="nextPage" href="${page+1}">More results</a>
    </p>
#{/if}

#{else}
    <p>
        No more results | 
        <a id="previousPage" href="${page-1}">Show previous results</a>
    </p>
#{/else}       